package com.baitiaojun.tenant.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@TableName("master_tenant")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class MasterTenantDO {

    @TableId(type = IdType.AUTO)
    private Long id;

    private String tenant;

    private String url;

    private String databaseName;

    private String username;

    private String password;

    private String hostName;

    private String status;

    private Date expirationDate;

    private Date createTime;

    private String driver;
}
